package com.oak.interviewdemo.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * User
 *
 * @Author: guoxy
 * @Date: 2020/5/18 9:15
 * @Description:
 * @Version: 1.0
 */
@Data
@TableName("sys_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = 5705182232897952013L;

    @TableId
    private Integer id;

    private String username;

    private String password;

    private String phone;

    private String email;

    /**
     * 删除状态：0：正常；1：删除
     */
    private Long status;


}
